/*base_url*/
var base_url = 'http://127.0.0.1:52990';

//jquery全局配置
$.ajaxSetup({
    dataType: "json",
    cache: false,
    contentType: "application/json; charset=utf-8",
    xhrFields: {
        withCredentials: true
    },
    complete: function(xhr) {
        if(xhr.status == 401){
            parent.location.href = base_url + '/login.html';
        }
    }
});
